Adds an array of SheetView objects to the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Sub AddRange( _
ByVal sheets() As SheetView _
) |
Parameters
- sheets
- Array of SheetView objects
Example
This example adds a range of sheets to the collection.
C# | Copy Code |
---|
FarPoint.Win.Spread.SheetView[] s = {new FarPoint.Win.Spread.SheetView("Sheet1"),
new FarPoint.Win.Spread.SheetView("Sheet2"), new FarPoint.Win.Spread.SheetView("Sheet3")};
fpSpread1.Sheets.AddRange(s);
|
Visual Basic | Copy Code |
---|
Dim s As FarPoint.Win.Spread.SheetView() = {New FarPoint.Win.Spread.SheetView("Sheet1"),
New FarPoint.Win.Spread.SheetView("Sheet2"), New FarPoint.Win.Spread.SheetView("Sheet3")}
FpSpread1.Sheets.AddRange(s) |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also